const express = require('express');
const router = express.Router();
const { auth } = require('../middlewares/auth');
const imageController = require('../controllers/image.controller');

// Protected routes
router.post('/generate', auth, imageController.generateImage);
router.get('/records', auth, imageController.getImageRecords);
router.delete('/records/:id', auth, imageController.deleteImageRecord);

module.exports = router; 